<%@ Page Language="C#" MasterPageFile="~/Admin/BoardAdmin.Master" AutoEventWireup="true" CodeBehind="Settings.aspx.cs" Inherits="UserInterface.Admin.Settings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <h1><%= GetLocalResourceObject("Header") %></h1>
    <table class="default-table">
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("GlobalSettings") %></th>
        </tr>
        <tr>
            <td class="default-data-column default-option-width"><%= GetLocalResourceObject("BoardName") %></td>
            <td class="default-data-column"><asp:TextBox ID="BoardNameTextBox" runat="server" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" EnableClientScript="false" ControlToValidate="BoardNameTextBox" ErrorMessage="*" runat="server" /></td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("RegistrationSettings") %></th>
        </tr>
        <tr>
            <td class="default-data-column default-option-width"><%= GetLocalResourceObject("AllowNewRegistrations") %></td>
            <td class="default-data-column">
                <asp:RadioButtonList id="AllowNewRegistrationsRadioButtonList" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True">Yes</asp:ListItem>
                    <asp:ListItem Value="False">No</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="default-data-column"><%= GetLocalResourceObject("AccountActivationByEmail")%></td>
            <td class="default-data-column">
                <asp:RadioButtonList id="AccountActivationByEmailRadioButtonList" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True">Yes</asp:ListItem>
                    <asp:ListItem Value="False">No</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="default-data-column"><%= GetLocalResourceObject("AccountActivationByAdmin")%></td>
            <td class="default-data-column">
                <asp:RadioButtonList id="AccountActivationByAdminRadioButtonList" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True">Yes</asp:ListItem>
                    <asp:ListItem Value="False">No</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <th colspan="2"><%= GetLocalResourceObject("InterfaceSettings") %></th>
        </tr>
        <tr>
            <td class="default-data-column"><%= GetLocalResourceObject("DefaultTheme")%></td>
            <td class="default-data-column">
                <asp:DropDownList runat="server" ID="ThemeDropDownList">
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <br>
    <asp:Button ID="SaveButton" runat="server" OnClick="SaveButton_Click" Text="<%$ Resources:Save %>" />
</asp:Content>
